@import './common';

section {
  >.banner {
    width: 100%;
    font-size: 0;

    >img {
      width: 100%;
    }
  }

  >.list-container {
    margin: 30px auto;
    padding: 0 20px;
    max-width: 1300px;
    display: flex;
    display: -webkit-flex;

    >.list-left-nav {
      width: 198px;

      >.nav-wrapper {
        padding: 20px 0;
        border-bottom: 1px solid #d9d9d9;

        >p {
          margin-bottom: 15px;
          font-size: 15px;
          letter-spacing: 1.5;
        }

        >a {
          display: block;
          width: 113px;
          height: 34px;
          line-height: 33px;
          color: #000;
          text-align: center;
          font-size: 12px;
          border: 1px solid #000;
        }

        >.nav-wrapper-two {
          display: flex;
          display: -webkit-flex;
          justify-content: space-between;
          font-size: 15px;
        }
      }

      >.border-none {
        border-bottom: none;
      }

      >.nav-btn-box {
        >a {
          display: block;
          width: 113px;
          height: 34px;
          line-height: 33px;
          color: #000;
          text-align: center;
          font-size: 12px;
          border: 1px solid #000;
        }
      }
    }

    >.list-right-content {
      width: 1102px;

      >.right-top-paging {
        padding-bottom: 33px;
        border-bottom: 1px solid #e6e5e5;
        display: flex;
        display: -webkit-flex;
        justify-content: space-between;

        >ul {
          padding-top: 20px;
          display: flex;
          display: -webkit-flex;

          >li {
            padding: 0 6px;
            color: #999;
            font-size: 12px;

            >a {
              color: #999;
            }
          }
        }

        >.product-select {
          display: flex;
          display: -webkit-flex;
          align-items: center;

          >p {
            margin-right: 15px;
            font-size: 14px;
          }

          >.select {
            width: 220px;

            >a {
              position: relative;
              padding: 0 23px 0 10px;
              display: block;
              height: 42px;
              width: 100%;
              line-height: 40px;
              border: 1px solid #dadada;
              color: #000;

              >p {
                padding-right: 14px;
                cursor: pointer;
              }

              >.iconfont {
                position: absolute;
                top: 0;
                right: 8px;
                display: block;
                font-size: 14px;
                height: 100%;
                width: 20px;
                cursor: pointer;
              }
            }
          }
        }
      }

      >.list-product {
        margin: 18px 0;
        display: flex;
        display: -webkit-flex;
        flex-wrap: wrap;

        >.product-wrapper {
          margin: 0 0 25px;
          width: 25%;

          .two-container-right {
            margin-right: 20px;
            width: 243px;

            .content-top {
              position: relative;

              a {
                img {
                  width: 100%;
                }

                &:hover~.hiddle-btn {
                  display: block;
                }
              }

              .tag {
                position: absolute;
                top: 0;
                left: 0;

                >span {
                  display: inline-block;
                  height: 22px;
                  width: 48px;
                  text-align: center;
                  background-color: #000;
                  font-size: 12px;
                  letter-spacing: 0.75px;
                  color: #fff;
                  line-height: 22px;
                }
              }
            }

            .content-bottom {
              text-align: center;

              >.goods-sign {
                height: 16px;

                >p {
                  margin: 0 auto;
                  font-size: 14px;
                  font-weight: bold;
                }
              }

              >.goods-select {
                padding: 8px 20px 20px;
                height: 58px;

                >.swiper-container {
                  padding: 0 10px;
                  --swiper-theme-color: #000;

                  >.swiper-wrapper {

                    >.swiper-slide {
                      width: 30px;
                      display: flex;
                      display: -webkit-flex;
                      justify-content: center;
                      border: 1px solid transparent;

                      >span {
                        margin: 5px;
                        display: block;
                        width: 20px;
                        height: 20px;
                        font-size: 0;
                      }

                      &:hover {
                        border-color: #e6e5e5;
                      }
                    }
                  }

                  >.swiper-button-prev {
                    left: -8px;
                    top: 74%;
                    width: 22px;
                    height: 32px;
                    z-index: 999;

                    >i {
                      font-size: 20px;
                    }

                    &::after {
                      display: none;
                    }
                  }

                  >.swiper-button-next {
                    right: -8px;
                    top: 74%;
                    width: 22px;
                    height: 32px;
                    z-index: 999;

                    >i {
                      font-size: 20px;
                    }


                    &::after {
                      display: none;
                    }
                  }
                }
              }

              >h3 {
                margin-bottom: 12px;
                font-size: 14px;
                height: 38px;

                >a {
                  color: #000;
                  line-height: 20px;

                  &:hover {
                    text-decoration: underline;
                  }
                }
              }

              >p {
                height: 38px;
                margin-bottom: 15px;

                a {
                  line-height: 20px;
                  color: #000;

                  &:hover {
                    text-decoration: underline;
                  }
                }

                >&:nth-of-type(2) {
                  margin-bottom: 0;
                  font-size: 15px;
                }

                &:nth-of-type(2) {
                  height: auto;
                  margin-bottom: 0;
                }
              }

              >a {
                margin: 20px auto 0;
                display: block;
                height: 36px;
                width: 123px;
                display: flex;
                justify-content: center;
                align-items: center;
                color: #fff;
                font-size: 15px;
                background-color: #000;

                >p {
                  margin: 3px 0 0 5px;
                }
              }
            }
          }
        }
      }
    }
  }
}